package com.qcby.demo.proxyaop.proxy.star;

import lombok.extern.slf4j.Slf4j;

/**
 * 贾玲的经纪人
 */
@Slf4j
public class AgentBq implements IAdvertisement {

    private JiaLing jiaLing;

    // 经纪人和贾玲建立关系
    public AgentBq(JiaLing jiaLing) {
        this.jiaLing = jiaLing;
    }

    @Override
    public void display() {
        log.info("贾玲的经纪人正在与您沟通中...");
        jiaLing.display();
        log.info("贾玲的经纪人正在完成收尾...");
    }

    @Override
    public String displayRe() {
        return null;
    }
}
